package br.com.lh.urabuilder.event.dispatcher
{
	import com.adobe.cairngorm.control.CairngormEvent;
	import com.adobe.cairngorm.control.CairngormEventDispatcher;

	public class CairngormEventDispatcher2 implements IEventDispatcher2
	{
		private static var instance : CairngormEventDispatcher;
		
		public function CairngormEventDispatcher2()
		{
			instance = CairngormEventDispatcher.getInstance();
		}
		
		public function dispatchEvent(event:CairngormEvent):Boolean{
			return instance.dispatchEvent(event);
		}
		
		public static function getInstance():IEventDispatcher2{
            return new CairngormEventDispatcher2(); 
		}
		
	}
}